home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
BUSITION
/
SERVIC1.LZH
/
INSTALL2.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-11-07
|
2KB
|
108 lines
Echo off
IF NOT EXIST INPUT.COM GOTO WRONGDR
IF %1==F GOTO FLOPINS
IF %1==H GOTO HARDINS1
CLS
GO2
:FLOPINS
ECHO OFF
CLS
IF %2==1 GOTO FLOPINS1
IF %2==2 GOTO FLOPINS2
CLS
ECHO This floppy installation requires that you enter either a '1' or a '2',
ECHO following your 'GO F' instruction.
GOTO END
:FLOPINS2
CLS
ECHO Enter disk 2, SALES-B, into drive A now.
ECHO [it should still be in Drive A]
PAUSE
%3
B:PKUNZIP -X B:SALE-C41.ZIP PROSPECT.OVL
B:PKUNZIP -X B:SALE-C41.ZIP *.FRM
CLS
ECHO Enter disk 3, SALESDOC, into drive A now.
PAUSE
%3
B:PKUNZIP -X B:SALE-D41.ZIP SALESDOC
GOTO FLOPDOC
:FLOPDOC
CLS
GOTO END
:FLOPINS1
GOTO END
:HARDINS1
CLS
echo
%2:
CD \
CD SERVICE
COPY %3MAINTC50.EXE >TMP
MAINTC50
DEL MAINTC50.EXE
COPY %3MAINTD50.EXE >TMP
MAINTD50
COPY GO-%2.BAT GO.BAT
DEL MAINTD50.EXE
COPY %3YESNO.COM >TMP
COPY %3ECOH.COM >TMP
CLS
echo
ECOH ══════════ Tutorial for program ══════════
echo
ECHO SERVICE.DOC is the tutorial and reference guide.
echo
ECHO Would you like to print it out now?
echo
:YESNO
YESNO
CLS
IF ERRORLEVEL 89 IF NOT ERRORLEVEL 90 GOTO YESNEXT
IF ERRORLEVEL 78 IF NOT ERRORLEVEL 79 GOTO YES1
GOTO YESNO
:YESNEXT
CLS
ECHO Please make sure your printer is now turned on and set
ECHO to the 'top of form'. Then press any key to continue.
echo
PAUSE
CLS
echo
echo
ECOH ══════════ Now printing tutorial and reference guide ══════════
COPY SERVICE.DOC LPT1:
CLS
GOTO YES1
:YES1
CLS
echo
echo
echo
ECOH ══════════ Free memory available for program ══════════
echo
ECHO The program must have 500 kb free memory. Observe the next
ECHO 'bytes are free.' message below. If below 500k, then
ECHO enter a 'CONTROL-C' now to stop and remove any memory resident
ECHO programs. Otherwise enter any other key to continue.
echo
echo
MEMORY
echo
echo
PAUSE
CLS
GO
GOTO END
:WRONGDR
CLS
echo
echo
ECHO Though nothing could be simpler than this install procedure, it does
echo require that you enter the drive name, such as 'A:' or 'B:', followed
echo by the 'Enter' key. After that, please enter 'GO2' again.
echo
GOTO END
:END
echo